package com.j2ee.action;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;

import com.j2ee.service.PersonService;

@Controller("personAction")
public class PersonAction {
	
	@Resource(name="personService")
	private PersonService personService ;
	
	public void savePerson() {
		personService.savePerson() ;
	}
	
	public void test() {
		personService.savePerson() ;
	}

}
